package cn.liberals.org.mapper;

import cn.liberals.org.domain.Shop;
import cn.liberals.basic.mapper.BaseMapper;
import cn.liberals.org.vo.ShopVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author liberals
 * @since 2022-07-01
 */
public interface ShopMapper extends BaseMapper<Shop> {
    // 根据名称查询店铺
    Shop loadByName(String name);

    // 报表数据
    List<ShopVo> loadShopEchartsData();

    void batchSave(List<Shop> shops);
}
